package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 邀约失败类型
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-20
 */
@Data
@TableName("enroll_student_option")
@ApiModel(value = "EnrollStudentOption对象", description = "邀约失败类型")
public class EnrollStudentOption implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty("邀约失败类型")
    private String name;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("1正常，2其它原因")
    private Integer type;

    @ApiModelProperty("是否删除，0正常，1删除")
    @TableLogic(value = "0", delval = "1")
    @TableField(select = false)
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updatedAt;

}
